<template>
  <div>
    <a-config-provider :locale="locale">
      <router-view></router-view>
    </a-config-provider>
  </div>
</template>

<script>
import dayjs from 'dayjs'
import 'dayjs/locale/zh-cn'
import locale from 'ant-design-vue/es/date-picker/locale/zh_CN'
dayjs.locale('zh-cn');
export default {
  setup() {
    return {
      dayjs,
      locale: locale
    }
  }
}
</script>

<style lang="scss" scoped>
</style>